package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TaskReceiveDTO {
    @ApiModelProperty(value = "任务id",required = true)
    @NotNull
    private Long taskId;

    @ApiModelProperty(value = "接收人id[当前登录用户id]",required = true)
    @NotNull
    private Long userId;

    @ApiModelProperty(value = "接收人姓名[当前登陆人姓名]",required = true)
    @NotBlank
    private String realName;
}
